package com.sizu.common.saledto;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sizu.common.dto.Page;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author 赵玉玺
 * @since 2020-02-26
 */
@Data
public class TSaleListDto extends Page {

    private static final long serialVersionUID = 1L;

private Integer id;

    private Float amountPaid;

    private Float amountPayable;

    private String remarks;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date saleDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date saleDateStart;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date saleDateEnd;

    private String saleNumber;

    private Integer state;

    private Integer userId;

    private Integer customerId;

    private String saleListGoodsJson;

    private Integer[] ids;

}
